
// TLWebLed.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols


// CTLWebLedApp:
// See TLWebLed.cpp for the implementation of this class
//

class CTLWebLedApp : public CWinApp
{
public:
	CTLWebLedApp();

protected:
	ULONG_PTR m_gdiplusToken;

public:
	BOOL GetSysConfig();
	void GetLogFilePath(HMODULE hModule, char* buffer, int nSize);
	void GetCfgFilePath(HMODULE hModule, char* buffer, int nSize);
	void GetModuleName(HMODULE hModule, char *buffer, int nSize);
	void GetModulePath(HMODULE hModule, TCHAR *pszModulePath, TCHAR *pszModuleName);

	CString GetExcelDriver();
	void ReadFromExcel();

// Overrides
public:
	virtual BOOL InitInstance();

// Implementation

	DECLARE_MESSAGE_MAP()
};

extern CTLWebLedApp theApp;